﻿using System;
using System.Collections.Generic;
using System.Text;

namespace AMS.ComponentModel
{
    /// <summary>
    /// 表明这是一个工作对话框
    /// </summary>
    public interface IWorkForm
    {
        /// <summary>
        /// 标识其是否可以被关闭
        /// </summary>
        /// <returns></returns>
        bool CanClose();

        /// <summary>
        /// 获取窗体的标识字符串
        /// </summary>
        string Identity { get; }

        /// <summary>
        /// 初始化
        /// </summary>
        void Init();
    }
}
